package com.jiang.mall.mallproduct.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jiang.common.utils.PageUtils;
import com.jiang.mall.mallproduct.product.entity.CategoryEntity;
import com.jiang.mall.mallproduct.product.vo.Catelog2Vo;

import java.util.List;
import java.util.Map;

/**
 * 商品三级分类
 *
 * @author zhangsan
 * @email 2469939264@qq.com
 * @date 2021-03-22 00:33:54
 */
public interface CategoryService extends IService<CategoryEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List getData();

    void removeMenusByIds(List catIds);

    Long[] getCatelogPath(Long attrGroupId);

    void updateCascade(CategoryEntity categoryEntity);

    List<CategoryEntity> getLevel1Categories();

    Map<String, List<Catelog2Vo>> getCatalogJson();
}

